[INFO] cloning repository https://github.com/warcholprzemo/rust_tutorial
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/warcholprzemo/rust_tutorial" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwarcholprzemo%2Frust_tutorial", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwarcholprzemo%2Frust_tutorial'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e082965c7c079815e735daab2f37c4d40ac49207
[INFO] checking warcholprzemo/rust_tutorial against try#163937523761cc0def32f1ba9ed63fdf65ad3478 for pr-156749
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwarcholprzemo%2Frust_tutorial" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/warcholprzemo/rust_tutorial
[INFO] finished tweaking git repo https://github.com/warcholprzemo/rust_tutorial
[INFO] tweaked toml for git repo https://github.com/warcholprzemo/rust_tutorial written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/warcholprzemo/rust_tutorial on toolchain 163937523761cc0def32f1ba9ed63fdf65ad3478
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+163937523761cc0def32f1ba9ed63fdf65ad3478" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/warcholprzemo/rust_tutorial already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+163937523761cc0def32f1ba9ed63fdf65ad3478" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] b279b7ad3f87c064ec6badd11da7627c9fe4216cc6e87b47101c27afa8b38b3b
[INFO] running `Command { std: "docker" "start" "b279b7ad3f87c064ec6badd11da7627c9fe4216cc6e87b47101c27afa8b38b3b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b279b7ad3f87c064ec6badd11da7627c9fe4216cc6e87b47101c27afa8b38b3b" "/opt/rustwide/cargo-home/bin/cargo" "+163937523761cc0def32f1ba9ed63fdf65ad3478" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b279b7ad3f87c064ec6badd11da7627c9fe4216cc6e87b47101c27afa8b38b3b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b279b7ad3f87c064ec6badd11da7627c9fe4216cc6e87b47101c27afa8b38b3b" "/opt/rustwide/cargo-home/bin/cargo" "+163937523761cc0def32f1ba9ed63fdf65ad3478" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.86
[INFO] [stderr]     Checking rand v0.5.6
[INFO] [stderr]     Checking rust_tutorial v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `home`
[INFO] [stdout]   --> src/enums.rs:35:9
[INFO] [stdout]    |
[INFO] [stdout] 35 |     let home = IpAddr::V4(String::from("127.0.0.1"));
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_home`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `loopback`
[INFO] [stdout]   --> src/enums.rs:36:9
[INFO] [stdout]    |
[INFO] [stdout] 36 |     let loopback = IpAddr::V6(String::from("::1"));
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_loopback`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `six`
[INFO] [stdout]   --> src/enums.rs:42:9
[INFO] [stdout]    |
[INFO] [stdout] 42 |     let six = plus_one(five);
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_six`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `none`
[INFO] [stdout]   --> src/enums.rs:43:9
[INFO] [stdout]    |
[INFO] [stdout] 43 |     let none = plus_one(None);
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to pattern match on the similarly named variant `None`
[INFO] [stdout]    |
[INFO] [stdout] 43 -     let none = plus_one(None);
[INFO] [stdout] 43 +     let std::prelude::v1::None = plus_one(None);
[INFO] [stdout]    |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]    |
[INFO] [stdout] 43 |     let _none = plus_one(None);
[INFO] [stdout]    |         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]  --> src/recoverable_errors.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 |     let f = match f {
[INFO] [stdout]   |         ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `home`
[INFO] [stdout]   --> src/enums.rs:35:9
[INFO] [stdout]    |
[INFO] [stdout] 35 |     let home = IpAddr::V4(String::from("127.0.0.1"));
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_home`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]   --> src/recoverable_errors.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let f = match f {
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f1`
[INFO] [stdout]   --> src/recoverable_errors.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 29 |     let f1 = File::open("progress.txt").unwrap();  // default message
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_f1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f2`
[INFO] [stdout]   --> src/recoverable_errors.rs:30:9
[INFO] [stdout]    |
[INFO] [stdout] 30 |     let f2 = File::open("progress.txt").expect("Failed to open file progress.txt"); // custom message
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_f2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `loopback`
[INFO] [stdout]   --> src/enums.rs:36:9
[INFO] [stdout]    |
[INFO] [stdout] 36 |     let loopback = IpAddr::V6(String::from("::1"));
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_loopback`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `six`
[INFO] [stdout]   --> src/enums.rs:42:9
[INFO] [stdout]    |
[INFO] [stdout] 42 |     let six = plus_one(five);
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_six`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `none`
[INFO] [stdout]   --> src/enums.rs:43:9
[INFO] [stdout]    |
[INFO] [stdout] 43 |     let none = plus_one(None);
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to pattern match on the similarly named variant `None`
[INFO] [stdout]    |
[INFO] [stdout] 43 -     let none = plus_one(None);
[INFO] [stdout] 43 +     let std::prelude::v1::None = plus_one(None);
[INFO] [stdout]    |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]    |
[INFO] [stdout] 43 |     let _none = plus_one(None);
[INFO] [stdout]    |         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]  --> src/recoverable_errors.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 |     let f = match f {
[INFO] [stdout]   |         ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]   --> src/recoverable_errors.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let f = match f {
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f1`
[INFO] [stdout]   --> src/recoverable_errors.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 29 |     let f1 = File::open("progress.txt").unwrap();  // default message
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_f1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f2`
[INFO] [stdout]   --> src/recoverable_errors.rs:30:9
[INFO] [stdout]    |
[INFO] [stdout] 30 |     let f2 = File::open("progress.txt").expect("Failed to open file progress.txt"); // custom message
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_f2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `2` is never read
[INFO] [stdout]    --> src/main.rs:122:24
[INFO] [stdout]     |
[INFO] [stdout] 122 | struct Color(u32, u32, u32);
[INFO] [stdout]     |        -----           ^^^
[INFO] [stdout]     |        |
[INFO] [stdout]     |        field in this struct
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider removing this field
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/enums.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 |     V4(String),  //we can do this also as V4(u8, u8, u8, u8)
[INFO] [stdout]   |     -- ^^^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     field in this variant
[INFO] [stdout]   |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 2 -     V4(String),  //we can do this also as V4(u8, u8, u8, u8)
[INFO] [stdout] 2 +     V4(()),  //we can do this also as V4(u8, u8, u8, u8)
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/enums.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 |     V6(String)
[INFO] [stdout]   |     -- ^^^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     field in this variant
[INFO] [stdout]   |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 3 -     V6(String)
[INFO] [stdout] 3 +     V6(())
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Nickel` and `Dime` are never constructed
[INFO] [stdout]  --> src/enums.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | enum Coin {
[INFO] [stdout]   |      ---- variants in this enum
[INFO] [stdout] 7 |     Penny,
[INFO] [stdout] 8 |     Nickel,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 9 |     Dime,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `largest_i32` is never used
[INFO] [stdout]  --> src/generics.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn largest_i32(list: &[i32]) -> i32 {
[INFO] [stdout]   |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `largest_char` is never used
[INFO] [stdout]   --> src/generics.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub fn largest_char(list: &[char]) -> char {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `2` is never read
[INFO] [stdout]    --> src/main.rs:122:24
[INFO] [stdout]     |
[INFO] [stdout] 122 | struct Color(u32, u32, u32);
[INFO] [stdout]     |        -----           ^^^
[INFO] [stdout]     |        |
[INFO] [stdout]     |        field in this struct
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider removing this field
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/enums.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 |     V4(String),  //we can do this also as V4(u8, u8, u8, u8)
[INFO] [stdout]   |     -- ^^^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     field in this variant
[INFO] [stdout]   |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 2 -     V4(String),  //we can do this also as V4(u8, u8, u8, u8)
[INFO] [stdout] 2 +     V4(()),  //we can do this also as V4(u8, u8, u8, u8)
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/enums.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 |     V6(String)
[INFO] [stdout]   |     -- ^^^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     field in this variant
[INFO] [stdout]   |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 3 -     V6(String)
[INFO] [stdout] 3 +     V6(())
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Nickel` and `Dime` are never constructed
[INFO] [stdout]  --> src/enums.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | enum Coin {
[INFO] [stdout]   |      ---- variants in this enum
[INFO] [stdout] 7 |     Penny,
[INFO] [stdout] 8 |     Nickel,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 9 |     Dime,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `largest_i32` is never used
[INFO] [stdout]  --> src/generics.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn largest_i32(list: &[i32]) -> i32 {
[INFO] [stdout]   |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `largest_char` is never used
[INFO] [stdout]   --> src/generics.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub fn largest_char(list: &[char]) -> char {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.76s
[INFO] running `Command { std: "docker" "inspect" "b279b7ad3f87c064ec6badd11da7627c9fe4216cc6e87b47101c27afa8b38b3b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b279b7ad3f87c064ec6badd11da7627c9fe4216cc6e87b47101c27afa8b38b3b", kill_on_drop: false }`
[INFO] [stdout] b279b7ad3f87c064ec6badd11da7627c9fe4216cc6e87b47101c27afa8b38b3b
